package com.smbms.service.recruitmentservice.interview;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smbms.dao.recruitment.interview.InterviewMapper;
import com.smbms.pojo.recruitment.Ps_education;
import com.smbms.pojo.recruitment.Rt_Interview;
import com.smbms.pojo.recruitment.Rt_resume;

@Service
public class IvServiceImpl implements InterviewService{
	@Autowired
	private InterviewMapper interviewMapper;

	@Override
	public int delIn(Integer id) {
		// TODO Auto-generated method stub
		return interviewMapper.delIn(id);
	}

	@Override
	public List<Ps_education> getEducation() {
		// TODO Auto-generated method stub
		return interviewMapper.getEducation();
	}

	@Override
	public List<Rt_resume> getResumeByNPWRT(Rt_resume rt) {
		// TODO Auto-generated method stub
		return interviewMapper.getResumeByNPWRT(rt);
	}

	@Override
	public int delRm(Integer id) {
		// TODO Auto-generated method stub
		return interviewMapper.delRm(id);
	}

	@Override
	public Rt_Interview viewRmANDRn(Integer id) {
		// TODO Auto-generated method stub
		return interviewMapper.viewRmANDRn(id);
	}


	@Override
	public int getInterviewUpd(Rt_Interview ri) {
		// TODO Auto-generated method stub
		return interviewMapper.getInterviewUpd(ri);
	}

	@Override
	public int getResumeUpd(Integer id, Integer resumeState) {
		// TODO Auto-generated method stub
		return interviewMapper.getResumeUpd(id, resumeState);
	}

	@Override
	public List<Rt_resume> getInterview() {
		// TODO Auto-generated method stub
		return interviewMapper.getInterview();
	}

	@Override
	public int countById() {
		// TODO Auto-generated method stub
		return interviewMapper.countById();
	}

	@Override
	public int countByresumeId() {
		// TODO Auto-generated method stub
		return interviewMapper.countByresumeId();
	}

	@Override
	public int[] countByLimit(Integer chazhi) {
		// TODO Auto-generated method stub
		return interviewMapper.countByLimit(chazhi);
	}

	@Override
	public int addByresumeId(Integer resumeId) {
		// TODO Auto-generated method stub
		return interviewMapper.addByresumeId(resumeId);
	}


	/*@Override
	public List<Rt_Interview> viewInter(Integer resumeId) {
		// TODO Auto-generated method stub
		return interviewMapper.viewInter(resumeId);
	}*/

	@Override
	public int UpdIn(Rt_Interview rn) {
		// TODO Auto-generated method stub
		return interviewMapper.UpdIn(rn);
	}

	
	@Override
	public int getByResumeId(Integer resumeId) {
		// TODO Auto-generated method stub
		return interviewMapper.getByResumeId(resumeId);
	}

	@Override
	public int[] getById() {
		// TODO Auto-generated method stub
		return interviewMapper.getById();
	}

	@Override
	public List<Rt_Interview> viewInter(Rt_Interview rt) {
		// TODO Auto-generated method stub
		return interviewMapper.viewInter(rt);
	}




}
